// 应用全局配置

//H5部署域名
let appUrl = ''
//接口域名
let apiUrl = ''
//后台地址域名
let adminUrl = ''
// 开发环境
if (process.env.NODE_ENV === 'development') {
	appUrl = 'https://xxx.com'
	apiUrl = 'https://miaomaguanjia.movspeed.com'
	adminUrl = 'http://manage.movspeed.com'
}
// 生产环境(发布环境)
if (process.env.NODE_ENV === 'production') {
	appUrl = 'https://xxx.com'
	apiUrl = 'https://miaomaguanjia.movspeed.com'
	adminUrl = 'http://miaomaguanjia.movspeed.com'
}

//超时时间，单位 ms
let timeout = 60000
// 不需要登录访问的界面
 //let noLogin = ['/intake/login', '/intake/register', '/intake/forget', '/tab/index','/tab/my','/my/setting','/my/unvipJun','/my/statement?type=0','/my/statement?type=1']
let noLogin = ['/intake/login', '/intake/register', '/intake/forget', '/tab/index', '/tab/my', '/tab/store',
	'/my/setting',
	'/my/listType', '/my/listType?type=1', '/my/listType?type=0', '/my/listType?type=2', '/my/listType?type=3',
	'/my/orderInfo', '/my/judgment', '/my/publishComments', '/my/myAddress', '/my/addNewAddress',
	'/my/modifyAddress',
	'/my/becomeVip?type=0', '/my/becomeVip?type=1', '/my/becomeVip?type=2', '/my/statement?type=0',
	'/my/statement?type=1', '/my/statement?type=2', '/my/storeInfo?id=12', '/my/sureOrder?id=12', '/my/vipRuleInfo',
	'/tab/my','/my/ couponModule'
]
// 应用信息
let appInfo = {
	// 应用名称
	name: '秒妈管家',
	//微信公众号APPID
	appId: 'wx81691565c83d2168',
	// 应用版本
	version: '1.1.0',
	// 应用logo
	logo: '/static/logo.png',
	// 官方网站
	site_url: 'http://miaoma.movspeed.com'
}

export{
	appUrl,
	apiUrl,
	adminUrl,
	timeout,
	noLogin,
	appInfo
}